demo07:
	g++ demo07.cpp -o demo07 -lyaml-cpp

test_1:
	g++ test_1.cc -o test_1

test_thread:
	g++ test_thread.cc demo08.cpp util.cc -o test_thread -lpthread 

test_util:
	g++ util.cc test_util.cc -o test_util

test_fiber:
	g++ test_fiber.cc  util.cc fiber.cc demo08.cpp -o test_fiber -lpthread 

test_scheduler:
	g++ test_scheduler.cc util.cc scheduler.cc fiber.cc demo08.cpp demo04.cpp -o test_scheduler -lpthread 

test_iomanager:
	g++ test_iomanager.cc timer.cc iomanager.cc util.cc scheduler.cc fiber.cc demo08.cpp -o test_iomanager -lpthread -g

test_hook:
	g++ test_hook.cc hook.cc timer.cc fd_manager.cc iomanager.cc util.cc scheduler.cc fiber.cc demo08.cpp -o test_hook -lpthread -ldl

test_address:
	g++ test_address.cc address.cc -o test_address

test_socket:
	g++ test_socket.cc timer.cc util.cc iomanager.cc fd_manager.cc address.cc socket.cc -o test_socket -lpthread
